<div class="box">
  <div class="top"><?php echo $heading_title; ?></div>
  <div class="middle" id="information">
<!--RSS-->
	<?php
// include lastRSS
include "lastRSS.php";
// Create lastRSS object
$rss = new lastRSS;

// Set cache dir and cache time limit (1200 seconds)
// (don't forget to chmod cahce dir to 777 to allow writing)
$rss->cache_dir = 'temp';
$rss->cache_time = 1200; 

for($i = 0; isset($url[$i]); $i++) {
$rssurl = str_replace('&', '&amp;', $url[$i]);
 }

// Try to load and parse RSS file
if ($rs = $rss->get($rssurl)){
    foreach($rs['items'] as $item) {
        echo "<li><a href=\"$item[link]\" target=_blank>".$item['title']."</a>"."</li>";
        }
   
    }
else {
    echo "Error: It's not possible to reach RSS file...\n";
}
?> 
<!---end RSS-->
    </ul>
  </div>
  <div class="bottom">&nbsp;</div>
</div>